import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import CPage from './test/page.vue'
Vue.component('c-page',CPage);

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

// 挂载mixin
import mixin from './mixin.js'
Vue.mixin(mixin)


const app = new Vue({
    ...App,
		store
})

import httpInterceptor from '@/common/http.interceptor.js'
Vue.use(httpInterceptor, app)

// http接口API集中管理引入部分
import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)

app.$mount()
